<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>坦克大战</title>
  <link rel="stylesheet" href="css/style.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>

<body>
  <div id="game-container">
    <canvas id="gameCanvas"></canvas>

    <div id="controls">
      <!-- 移动摇杆 -->
      <div id="move-joystick" class="joystick-container">
        <div class="joystick-base">
          <div class="joystick-handle"></div>
        </div>
      </div>

      <!-- 技能按钮 -->
      <div id="skill-buttons">
        <button class="skill-btn" id="fireBtn">
          <i class="fas fa-crosshairs"></i>
        </button>
      </div>
    </div>
  </div>

  <script src="js/joystick.js"></script>
  <script src="js/tank.js"></script>
  <script src="js/game.js"></script>
</body>

</html>